package cn.angleline.cloudhub.easbi.eas.entity

import java.math.BigDecimal
import java.sql.Timestamp
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.Table

@Entity
@Table(name = "T_CAS_ReceivingBill")
data class TCasReceivingBill(
        @Id
        @Column(name = "FID")
        var fid: String? = null,
        @Column(name = "FCreatorID")
        var fCreatorId: String? = null,
        @Column(name = "FCreateTime")
        var fCreateTime: Timestamp? = null,
        @Column(name = "FLastUpdateUserID")
        var fLastUpdateUserId: String? = null,
        @Column(name = "FLastUpdateTime")
        var fLastUpdateTime: Timestamp? = null,
        @Column(name = "FControlUnitID")
        var fControlUnitId: String? = null,
        @Column(name = "FNumber")
        var fNumber: String? = null,
        @Column(name = "FBizDate")
        var fBizDate: Timestamp? = null,
        @Column(name = "FHandlerID")
        var fHandlerId: String? = null,
        @Column(name = "FDescription")
        var fDescription: String? = null,
        @Column(name = "FHasEffected")
        var fHasEffected: Int? = null,

        @Column(name = "FAuditorID")
        var fAuditorId: String? = null,
        @Column(name = "FSourceBillID")
        var fSourceBillId: String? = null,
        @Column(name = "FSourceFunction")
        var fSourceFunction: String? = null,
        @Column(name = "FCompanyID")
        var fCompanyId: String? = null,
        @Column(name = "FSourceType")
        var fSourceType: Int? = null,
        @Column(name = "FSourceSysType")
        var fSourceSysType: Int? = null,
        @Column(name = "FCurrencyID")
        var fCurrencyId: String? = null,
        @Column(name = "FExchangeRate")
        var fExchangeRate: BigDecimal? = null,

        @Column(name = "FIsExchanged")
        var fIsExchanged: Int? = null,
        @Column(name = "FLastExhangeRate")
        var fLastExhangeRate: BigDecimal? = null,
        @Column(name = "FSettlementTypeID")
        var fSettlementTypeId: String? = null,
        @Column(name = "FSettlementNumber")
        var fSettlementNumber: String? = null,
        @Column(name = "FOppAccountID")
        var fOppAccountId: String? = null,
        @Column(name = "FFpItemID")
        var fFpItemId: String? = null,
        @Column(name = "FIsCommitSettle")
        var fIsCommitSettle: Int? = null,
        @Column(name = "FSettleBizType")
        var fSettleBizType: Int? = null,

        @Column(name = "FAuditDate")
        var fAuditDate: Timestamp? = null,
        @Column(name = "FCashierID")
        var fCashierId: String? = null,
        @Column(name = "FAccountantID")
        var fAccountantId: String? = null,
        @Column(name = "FIsInitializeBill")
        var fIsInitializeBill: Int? = null,
        @Column(name = "FFiVouchered")
        var fFiVouchered: Int? = null,
        @Column(name = "FBillStatus")
        var fBillStatus: Int? = null,
        @Column(name = "FSettlementStatus")
        var fSettlementStatus: Int? = null,
        @Column(name = "FFundType")
        var fFundType: Int? = null,
        @Column(name = "FRecType")
        var fRecType: Int? = null,

        @Column(name = "FActRecAmt")
        var fActRecAmt: BigDecimal? = null,
        @Column(name = "FActRecAmtVc")
        var fActRecAmtVc: BigDecimal? = null,
        @Column(name = "FActRecLocAmt")
        var fActRecLocAmt: BigDecimal? = null,
        @Column(name = "FActRecLocAmtVc")
        var fActRecLocAmtVc: BigDecimal? = null,
        @Column(name = "FPayeeBankID")
        var fPayeeBankId: String? = null,
        @Column(name = "FPayeeAccountBankID")
        var fPayeeAccountBankId: String? = null,
        @Column(name = "FPayeeAccountID")
        var fPayeeAccountId: String? = null,
        @Column(name = "FPayerTypeID")
        var fPayerTypeId: String? = null,
        @Column(name = "FPayerID")
        var fPayerId: String? = null,
        @Column(name = "FPayerNumber")
        var fPayerNumber: String? = null,
        @Column(name = "FPayerName")
        var fPayerName: String? = null,
        @Column(name = "FPayerAccountNumber")
        var fPayerAccountNumber: String? = null,
        @Column(name = "FPayerAccountBank")
        var fPayerAccountBank: String? = null,

        @Column(name = "FIsImport")
        var fIsImport: Int? = null,
        @Column(name = "FAmount")
        var fAmount: BigDecimal? = null,
        @Column(name = "FLocalAmount")
        var fLocalAmount: BigDecimal? = null,
        @Column(name = "FAdminOrgUnitId")
        var fAdminOrgUnitId: String? = null,
        @Column(name = "FPersonId")
        var fPersonId: String? = null,
        @Column(name = "FRecDate")
        var fRecDate: Timestamp? = null,
        @Column(name = "FAccessoryAmt")
        var fAccessoryAmt: Int? = null,
        @Column(name = "FConceit")
        var fConceit: String? = null,
        @Column(name = "FIsRelateReceipt")
        var fIsRelateReceipt: Int? = null,
        @Column(name = "FReceiptId")
        var fReceiptId: String? = null,
        @Column(name = "FCurProjectId")
        var fCurProjectId: String? = null,
        @Column(name = "FSummary")
        var fSummary: String? = null,

        @Column(name = "FDayaccount")
        var fDayaccount: BigDecimal? = null,
        @Column(name = "FContractNo")
        var fContractNo: String? = null,
        @Column(name = "FContractBillID")
        var fContractBillId: String? = null,
        @Column(name = "FCapitalAmount")
        var fCapitalAmount: String? = null,
        @Column(name = "FOppInnerAcctID")
        var fOppInnerAcctId: String? = null,
        @Column(name = "FFeeType")
        var fFeeType: Int? = null,
        @Column(name = "FProjectID")
        var fProjectId: String? = null,
        @Column(name = "FProjectManagerID")
        var fProjectManagerId: String? = null,
        @Column(name = "FVoucherID")
        var fVoucherId: String? = null,
        @Column(name = "FVoucherTypeID")
        var fVoucherTypeId: String? = null,
        @Column(name = "FDeliverID")
        var fDeliverId: String? = null,
        @Column(name = "FBizTypeID")
        var fBizTypeId: String? = null,
        @Column(name = "FIsBookRL")
        var fIsBookRl: Int? = null,

        @Column(name = "FBgAmount")
        var fBgAmount: BigDecimal? = null,
        @Column(name = "FIsAppointVoucher")
        var fIsAppointVoucher: Int? = null,
        @Column(name = "FReceivingBillType")
        var fReceivingBillType: Int? = null,
        @Column(name = "FRealRecCompanyID")
        var fRealRecCompanyId: String? = null,
        @Column(name = "FRealRecBillID")
        var fRealRecBillId: String? = null,
        @Column(name = "FSrcRealRecBillID")
        var fSrcRealRecBillId: String? = null,
        @Column(name = "FRecBillTypeID")
        var fRecBillTypeId: String? = null,
        @Column(name = "FIsRelateRecBook")
        var fIsRelateRecBook: Int? = null,
        @Column(name = "FFeeTypeID")
        var fFeeTypeId: String? = null,
        @Column(name = "FPayerAccountBankID")
        var fPayerAccountBankId: String? = null,

        @Column(name = "FIsCtrlOppAcct")
        var fIsCtrlOppAcct: Int? = null,
        @Column(name = "FIsRedBill")
        var fIsRedBill: Int? = null,
        @Column(name = "FIsTransBill")
        var fIsTransBill: Int? = null,
        @Column(name = "FIsTransOtherBill")
        var fIsTransOtherBill: Int? = null,
        @Column(name = "FVerifiedAmt")
        var fVerifiedAmt: BigDecimal? = null,
        @Column(name = "FVerifiedAmtLoc")
        var fVerifiedAmtLoc: BigDecimal? = null,
        @Column(name = "FUnVerifiedAmt")
        var fUnVerifiedAmt: BigDecimal? = null,
        @Column(name = "FUnVerifiedAmtLoc")
        var fUnVerifiedAmtLoc: BigDecimal? = null,
        @Column(name = "FIsNeedVoucher")
        var fIsNeedVoucher: Int? = null,
        @Column(name = "FVoucherNumber")
        var fVoucherNumber: String? = null,
        @Column(name = "FApproverID")
        var fApproverId: String? = null,
        @Column(name = "FApproveDate")
        var fApproveDate: Timestamp? = null,
        @Column(name = "FAccepter")
        var fAccepter: String? = null,
        @Column(name = "FAccepterDate")
        var fAccepterDate: Timestamp? = null,
        @Column(name = "FMixEntryVerify")
        var fMixEntryVerify: Int? = null,
        @Column(name = "FLastPayerTypeID")
        var fLastPayerTypeId: String? = null,
        @Column(name = "FLastPayerNumber")
        var fLastPayerNumber: String? = null,
        @Column(name = "FLastPayerName")
        var fLastPayerName: String? = null,
        @Column(name = "FLastPayerID")
        var fLastPayerId: String? = null,
        @Column(name = "FIsImpFromGL")
        var fIsImpFromGl: Int? = null,
        @Column(name = "FIsSaleReturn")
        var fIsSaleReturn: Int? = null,
        @Column(name = "FIsProxyReturn")
        var fIsProxyReturn: Int? = null,
        @Column(name = "FIsPreReturn")
        var fIsPreReturn: Int? = null,
        @Column(name = "FAdminOrgUnitId_SourceBill")
        var fAdminOrgUnitIdSourceBill: String? = null,
        @Column(name = "FPersonID_SourceBill")
        var fPersonIdSourceBill: String? = null,
        @Column(name = "FAsstActID_SourceBill")
        var fAsstActIdSourceBill: String? = null,
        @Column(name = "FBillDate_SourceBill")
        var fBillDateSourceBill: Timestamp? = null,
        @Column(name = "FAsstActTypeID_SourceBill")
        var fAsstActTypeIdSourceBill: String? = null,
        @Column(name = "FisCoopBuild")
        var fisCoopBuild: Int? = null,
        @Column(name = "FIsReverseLockAmount")
        var fIsReverseLockAmount: Int? = null,
        @Column(name = "FContractNumber")
        var fContractNumber: String? = null,
        @Column(name = "FSubSettDate")
        var fSubSettDate: Timestamp? = null,

        @Column(name = "FOppFpItemID")
        var fOppFpItemId: String? = null,
        @Column(name = "FOppBgItemId")
        var fOppBgItemId: String? = null,
        @Column(name = "FOppBgItemName")
        var fOppBgItemName: String? = null,
        @Column(name = "FOppBgItemNumber")
        var fOppBgItemNumber: String? = null,
        @Column(name = "FOutBgItemId")
        var fOutBgItemId: String? = null,
        @Column(name = "FOutBgItemName")
        var fOutBgItemName: String? = null,
        @Column(name = "FOutBgItemNumber")
        var fOutBgItemNumber: String? = null,
        @Column(name = "FPAYACCOUNTBANK")
        var fpayaccountbank: String? = null,
        @Column(name = "FCostCenterID")
        var fCostCenterId: String? = null,
        @Column(name = "fpaymentTypeid")
        var fpaymentTypeid: String? = null,
        @Column(name = "FSYNbillType")
        var fsyNbillType: String? = null,
        @Column(name = "FSYNbillNumber")
        var fsyNbillNumber: String? = null,
        @Column(name = "FSYNBillID")
        var fsynBillId: String? = null,
        @Column(name = "FSYNBillEntryID")
        var fsynBillEntryId: String? = null,
        @Column(name = "FPrintCount")
        var fPrintCount: Int? = null,
        @Column(name = "CFKDTextField")
        var cfkdTextField: String? = null
)
